Add and use ot_checksum_bytes helper
authorAlexander Larsson <alexl@redhat.com>
Thu, 10 Sep 2020 12:29:47 +0000 (14:29 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 11 Sep 2020 10:00:05 +0000 (12:00 +0200)
commit32014d99e617a1a85f6ff4f099ac406e6cc86eaa
tree9558d4be6b2ff699b2685a3a66fc94bc7b100540
parentdddb449d2c099ffff5bb4f9de2ed4d2c61b4e905
Add and use ot_checksum_bytes helper

This removes some duplicated code (and will be use even more later).
src/libostree/ostree-repo-pull.c
src/libotutil/ot-checksum-utils.c
src/libotutil/ot-checksum-utils.h